Using Sound Code in System ROM


In the Game Boy Advance System ROM, a sound program is included and is responsible for things like startup sound. By using a portion of the sound program with this system, the programs in Game Pak ROM and Internal RAM can be minimized.

However, the following restrictions and differences exist:
  -Slower speed than Internal RAM execution version (sys_rom = 0)
  -Cannot limit the processing time of m4aSoundMain( )
  -Must use 2 channels for DMA
  -Operates only with Development AGB (TS4) and later.

If you want to use the sound code in the System ROM, tell the sound engineer to "Add sys_rom = 1 to the definition file mks4agb.ini."

Next:[ Example of Linker Script ]
Back:[ Using DMA and Timers ]
Top  :[ Table of Contents ]